import { Link } from '@brillout/docpress'

Move your Vike settings from `vite.config.js` to `pages/+config.js` (or `renderer/+config.js`):

```ts
// vite.config.ts

import type { UserConfig } from 'vite'
import vike from 'vike/plugin'

export default {
  plugins: [
    vike({
      prerender,// [!code --]
      redirects,// [!code --]
      baseAssets,// [!code --]
      baseServer,// [!code --]
      trailingSlash,// [!code --]
      disableUrlNormalization// [!code --]
    })
  ]
} satisfies UserConfig
```

```ts
// pages/+config.ts

import type { Config } from 'vike/types'

export default {
  prerender,// [!code ++]
  redirects,// [!code ++]
  baseAssets,// [!code ++]
  baseServer,// [!code ++]
  trailingSlash,// [!code ++]
  disableUrlNormalization// [!code ++]
} satisfies Config
```

> Support for defining Vike settings in `vite.config.js` will be removed in the next major release.

> All Vike settings are now defined by `+` files. (It's an important change as it unlocks new capabilities for Vike extensions.)
